<template>
 <component :is="tabs[currentTab]"></component>
</template>

<script setup>
import { ref, defineAsyncComponent } from "vue";
const Canvas = defineAsyncComponent({
  loader: () => import("@/components/canvas"),
});
const currentTab = ref("canvas");
const tabs = ref({
  canvas: Canvas,
});
</script>

<style scoped></style>
